#!/usr/bin/env bash
if [ -n "${PY36_PATH}" ] 
then
    echo "已经是python3.8环境了"
    return
fi

export PY36_PATH=${PATH}
export PATH=${HOME}/sys/bin:${PATH}
echo "PATH=${PATH}"

export PY36_LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=${HOME}/sys/lib:${LD_LIBRARY_PATH}
echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}"

export PY36_PYTHONPATH=${PYTHONPATH}
# caffe
export CAFFE_HOME="$HOME/caffe-quants-3.8/caffe-quant"
export PYTHONPATH="${CAFFE_HOME}/python"
# export PYTHONPATH="${PYTHONPATH}:${CAFFE_HOME}/python/lib"
# export PYTHONPATH="${PYTHONPATH}:${CAFFE_HOME}/python/lib/rpn"
# onnx
export ONNXQ_HOME=$HOME/onnx-quants-3.8/onnx-quant
export PYTHONPATH=${ONNXQ_HOME}:${PYTHONPATH}

echo "PYTHONPATH=${PYTHONPATH}"

conda activate python3.8
